package com.zhang.brand.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 分类与品牌的关联表
 * </p>
 *
 * @author 创世神
 * @since 2023-09-11
 */
@Getter
@Setter
@TableName("asso_brand_category")
public class BrandCategory implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Long id;

    @TableField("brand_id")
    private Long brandId;

    @TableField("category_id")
    private Long categoryId;

    @TableField("brand_name")
    private String brandName;

    @TableField("category_name")
    private String categoryName;
}
